#!/bin/bash

# 模拟数据库状态检查脚本
echo "数据库状态检查开始..."

if [ "$1" == "status" ]; then
    echo "数据库连接正常"
    echo "当前活跃连接数: 15"
    echo "查询响应时间: 23ms"
    exit 0
else
    echo "用法: $0 status"
    exit 1
fi